Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for attributes on types in WebIDL #22958

Merged
merged 2 commits into from Mar 4, 2019

Conversation

Manishearth
Copy link
Member

@Manishearth Manishearth commented Mar 2, 2019

WebIDL moved [Clamp], [RangeEnforced], and [TreatNullAs] to applying directly to types in whatwg/webidl#286.

I implemented parser support for this upstream in bug 1359269. This pull request downstreams those changes and updates codegen as well as any webidls to conform.

Needed to land #22874

r? @nox


This change is Reviewable

@highfive
Copy link

highfive commented Mar 2, 2019

Heads up! This PR modifies the following files:

  • @asajeffrey: components/script/dom/webidls/CSSStyleDeclaration.webidl, components/script/dom/webidls/CharacterData.webidl, components/script/dom/webidls/HTMLElement.webidl, components/script/dom/webidls/MediaList.webidl, components/script/dom/webidls/HTMLFontElement.webidl and 17 more
  • @KiChjang: components/script/dom/webidls/CSSStyleDeclaration.webidl, components/script/dom/webidls/CharacterData.webidl, components/script/dom/webidls/HTMLElement.webidl, components/script/dom/webidls/MediaList.webidl, components/script/dom/webidls/HTMLFontElement.webidl and 17 more

@highfive highfive added the S-awaiting-review There is new code that needs to be reviewed. label Mar 2, 2019
@nox
Copy link
Contributor

nox commented Mar 4, 2019

r=me once squashed.

@Manishearth
Copy link
Member Author

@bors-servo r=nox

@bors-servo
Copy link
Contributor

📌 Commit 7b48df5 has been approved by nox

@highfive highfive added S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. and removed S-awaiting-review There is new code that needs to be reviewed. labels Mar 4, 2019
@bors-servo
Copy link
Contributor

⌛ Testing commit 7b48df5 with merge 28c6dec...

bors-servo pushed a commit that referenced this pull request Mar 4, 2019
Add support for attributes on types in WebIDL

WebIDL moved `[Clamp]`, `[RangeEnforced]`, and `[TreatNullAs]` to applying directly to types in whatwg/webidl#286.

I implemented parser support for this upstream in [bug 1359269](https://bugzilla.mozilla.org/show_bug.cgi?id=1359269). This pull request downstreams those changes and updates codegen as well as any webidls to conform.

Needed to land #22874

r? @nox

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/22958)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

☀️ Test successful - android-mac, arm32, arm64, linux-rel-css, linux-rel-wpt, mac-rel-css1, mac-rel-css2, mac-rel-wpt1, mac-rel-wpt2, mac-rel-wpt3, mac-rel-wpt4, magicleap, status-taskcluster
Approved by: nox
Pushing 28c6dec to master...

@bors-servo bors-servo merged commit 7b48df5 into servo:master Mar 4, 2019
@highfive highfive removed the S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. label Mar 4, 2019
bors-servo pushed a commit that referenced this pull request Mar 4, 2019
Add support for MediaTrackConstraints

This uses the WebIDL attributes-on-types support landed in #22958 to fill out the MediaTrackConstraints dictionary for constraints that servo-media supports.

r? @jdm

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/22874)
<!-- Reviewable:end -->
bors-servo pushed a commit that referenced this pull request Mar 4, 2019
Add support for MediaTrackConstraints

This uses the WebIDL attributes-on-types support landed in #22958 to fill out the MediaTrackConstraints dictionary for constraints that servo-media supports.

r? @jdm

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/22874)
<!-- Reviewable:end -->
bors-servo pushed a commit that referenced this pull request Mar 4, 2019
Add support for MediaTrackConstraints

This uses the WebIDL attributes-on-types support landed in #22958 to fill out the MediaTrackConstraints dictionary for constraints that servo-media supports.

r? @jdm

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/22874)
<!-- Reviewable:end -->
bors-servo pushed a commit that referenced this pull request Mar 4, 2019
Add support for MediaTrackConstraints

This uses the WebIDL attributes-on-types support landed in #22958 to fill out the MediaTrackConstraints dictionary for constraints that servo-media supports.

r? @jdm

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/22874)
<!-- Reviewable:end -->
@Manishearth Manishearth deleted the attrs-on-types branch May 7, 2019 22:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants